@ var _user = c.currentUser(request, servlet.response);
@ layout("/common/_layout.html"){
  <h2 class="page-title">帐号设置</h2>
  <div class="fly-tab user-tab">
    <span id="LAY-mine">
      <a href="/user/edit/${_user.id!}">我的资料</a>
      <a href="javascript:;" class="tab-this">头像</a>
      <a href="/user/pass/${_user.id!}">密码</a>
      <a href="/user/bind/${_user.id!}">帐号绑定</a>
    </span>
  </div>
  <div class="user-mine">
    <div class="layui-form layui-form-pane mine-view" style="display:block;">
      <div class="layui-form layui-form-pane ">
        <div class="layui-form-item">
          <div class="avatar-add">
            <p>建议尺寸168*168，支持jpg、png、gif，最大不能超过30KB</p>
            <div class="upload-img">
              <input type="file" name="imgFile" id="LAY-file" lay-title="上传头像">
            </div>
            <img src="${_user.headImg }">
            <span class="loading"></span>
          </div>
        </div>
      </div>
    </div>
  </div>
@ }